#ifndef DESIGNPATTERN_SINGLETON_H
#define DESIGNPATTERN_SINGLETON_H

#include <string>

class Singleton {
public:
    static Singleton* getInstance();
    std::string name() const;
    Singleton(const Singleton&)= delete;
private:
    static Singleton* instance;
    Singleton();
};

#endif
